#ifndef ACTOR3DEVENT_HPP
#define ACTOR3DEVENT_HPP
#include "AbstractEvent.hpp"
class Actor3D;

/**
 Events specific to Actor3D members- position, rotation, and scale.
 \package Events
 */
class Actor3DEvent : public AbstractEvent
{
public:
    Actor3DEvent(Actor3D *who,const QByteArray &dimension,const QByteArray &scale,const QByteArray &derivative, float value, float time);
    Actor3DEvent(Actor3D *who, const QByteArray &shortKey, float value, float time);
    void dispatch();
    QByteArray name() const { return "Actor3DEvent"; }
    float time() const { return myTime; }

private:
    float myTime, value;
    QByteArray key;
    Actor3D *actor;
};

#endif // ACTOR3DEVENT_HPP
